﻿using EONFULLSIN2.Models.Enum.IOPointEnum;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EONFULLSIN2.Models.Dto.Device
{
    /// <summary>
    /// 继电器通道类
    /// </summary>
    public class RelayChannelItemDto : BindableBase {
       
        private int _channelIndex;
        /// <summary>
        /// 通道位置
        /// </summary>
        public int ChannelIndex {
            get { return _channelIndex; }
            set { _channelIndex = value; base.RaisePropertyChanged(); }
        }
        
        private eIOPointEnum _iOPointType;
        /// <summary>
        /// 继电器点位类型枚举
        /// </summary>
        public eIOPointEnum IOPointType {
            get { return _iOPointType; }
            set { _iOPointType = value; base.RaisePropertyChanged(); }
        }
        
        private bool _channelStatus;
        /// <summary>
        /// 通道状态
        /// </summary>
        public bool ChannelStatus {
            get { return _channelStatus; }
            set { _channelStatus = value; base.RaisePropertyChanged(); }
        }
    }

}
